package com.example.administrator.smarthome_androids;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;


/**
 * Created by Administrator on 2017/6/15 0015.
 */
@Entity
public class OpenBean {
    @Id
    Long id;
    String mString;//设备
    String time;//时间
    String type;//开关类型
    String location; //位置
    String temperature;//温度

    @Override
    public String toString() {
        return "OpenBean{" +
                "id=" + id +
                ", mString='" + mString + '\'' +
                ", RoomBean='" + time + '\'' +
                ", type='" + type + '\'' +
                ", location='" + location + '\'' +
                ", temperature='" + temperature + '\'' +
                '}';
    }

    public String getMString() {
        return this.mString;
    }

    public void setMString(String mString) {
        this.mString = mString;
    }


    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }


    public String getLocation() {
        return this.location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getTemperature() {
        return this.temperature;
    }

    public void setTemperature(String temperature) {
        this.temperature = temperature;
    }

    public String getTime() {
        return this.time;
    }


    @Generated(hash = 1434097358)
    public OpenBean(Long id, String mString, String time, String type,
                    String location, String temperature) {
        this.id = id;
        this.mString = mString;
        this.time = time;
        this.type = type;
        this.location = location;
        this.temperature = temperature;
    }

    @Generated(hash = 550906650)
    public OpenBean() {
    }
}
